package mundo.java.client.events;

import java.util.Map;

import mundo.java.shared.GreetingAction;
import mundo.java.shared.GreetingResponse;

public class ListMessagesEvent extends Event {
	public static final Type TYPE = new Type();
	
	public final Map<GreetingAction, GreetingResponse> messages;

	public ListMessagesEvent(Map<GreetingAction, GreetingResponse> messages) {
		this.messages = messages;
	}

	@Override
	public Type getAssociatedType() {
		return TYPE;
	}
}